package schooltg.core.persist.dao;

import schooltg.core.persist.entity.TagPO;
import mtons.modules.persist.BaseRepository;
import mtons.modules.pojos.Paging;

import java.util.List;

public interface TagDao extends BaseRepository<TagPO> {
	TagPO getByName(String name);
	List<TagPO> tops(int maxResults);
	List<TagPO> paging(Paging paging, String key, String order);
}
